package reno.ribbon.ribbon.timecycle;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TimeCycleController {

    @Autowired
    TimeCycleService timeCycleService;

    @RequestMapping(value = "/getCetusCycle")
    public String getCetusCycle(){
        return timeCycleService.getCetusCycle();
    }

    @RequestMapping(value = "/getEarthCycle")
    public String getEarthCycle(){
        return timeCycleService.getEarthCycle();
    }

    @RequestMapping(value = "/getVallisCycle")
    public String getVallisCycle(){
        return timeCycleService.getVallisCycle();
    }


}
